from typing import List


class Solution:
    def twoSum(self, numbers: List[int], target: int) -> List[int]:
        myDic=dict()
        for i in range(len(numbers)):

            if (target-numbers[i]) in myDic.keys():
                return [myDic[target-numbers[i]],i]
            myDic[numbers[i]] = i

# (target-numbers[i])==numbers[i] and myDic[numbers[i]]>1 or
if __name__ == '__main__':
    s=Solution()
    numbers = [0, 0, 4, 6, 10]
    ans=s.twoSum(numbers,0)
    print(ans)